home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / music / patchlib.arc / PATCHSRC.ARC / COMPILE.DOC next >
Text File  |  1985-11-20  |  1KB  |  26 lines

  1. Easy method
  2. -----------
  3. Change the first line of code ("#include <curses.h>") to #include <curses.c>
  4. (curses.c includes all the appropiate files).  #define the appropiate synth.
  5. Compile.  Link without using aesbind or vdibind (if you are *really* lazy,
  6. you can link with them, but it takes longer).  That's it!
  7.  
  8. Slightly Less Easy method (but the way I do it)
  9. -------------------------
  10. If you like the stuff in curses.c and think you may want to use it in other
  11. programs you write then....  Don't change the code (except #define your synth).
  12. Compile and assemble curses.c resulting in curses.o .  Compile patch.c .  Link
  13. patch without aesbind or vdibind but *with* curses.o .  That's it!
  14.  
  15. Notes
  16. -----
  17. This is Alcyon C code (v4.14).  If you are using Megamax C (with the 32K limit) 
  18. I hope you have some way of getting around that limit for large arrays because 
  19. the code depends vitally on the 'voices' and 'v_names' arrays and they are 
  20. *large*.  If you could live with a much smaller limit on the number of voices 
  21. in a single library you could change the preprocessor variable VOICES from 1000 
  22. to 100 or whatever.
  23.  
  24. If your osbind.h file doesn't already include it, you may have to:
  25. #define Vsync()    xbios(37)
  26.